projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a88b58
)
(x_load_font): Clear all members of FONTP before start filling them.
author
Kenichi Handa
<handa@m17n.org>
Fri, 3 Oct 2003 11:36:04 +0000
(11:36 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Fri, 3 Oct 2003 11:36:04 +0000
(11:36 +0000)
src/macterm.c
patch
|
blob
|
history
diff --git
a/src/macterm.c
b/src/macterm.c
index 8c22d047939256bdd65b456c51faa9a56003d45f..fc9b890db18a225b526f9068f3c65df703c3af0f 100644
(file)
--- a/
src/macterm.c
+++ b/
src/macterm.c
@@
-6240,6
+6240,7
@@
x_load_font (f, fontname, size)
/* Now fill in the slots of *FONTP. */
BLOCK_INPUT;
+ bzero (fontp, sizeof (*fontp));
fontp->font = font;
fontp->font_idx = i;
fontp->name = (char *) xmalloc (strlen (font->fontname) + 1);